package com.sqf.web;

import com.sqf.api.TestApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Autowired
    TestApi testApi;

    @RequestMapping("test1")
    public String test(){
        String s = testApi.test01();
        System.out.println("====s="+s);
        return "test1中调用了："+s;
    }

}
